package com.egao.common.module.counsel.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lym
 * @date 2022/1/24 15:41
 */
@Data
@ApiModel(description = "预约咨询教师")
@TableName("counsel_teacher")
public class CounselTeacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("咨询师姓名")
    private String name;

    @ApiModelProperty("教师用户ID")
    private Integer userId;

    @ApiModelProperty("教师简介")
    private String content;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("是否删除 0否 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("教师工号")
    @TableField(exist = false)
    private String username;

}
